package com.yyds.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yyds.pojo.PersonVolunteer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 花君瑜
 * @date 2022/10/14 21:17:19
 * @desc 行政人员扩展表
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings({"all"})//抑制警告
public class PersonVolunteerVo extends PersonVolunteer {
    //姓名
    private String resident_name;
    //家庭住址
    private String resident_address;
    //性别
    private String resident_gender;
    //手机号
    private String resident_phone;
    //封控地点名称
    private String region_name;
    //封控开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date area_starttime;
    //封控结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date area_endtime;
    //封控等级
    private String area_level;
}
